<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<head>
		<title>ϵͳ</title>
		<%@ include file="/commons/meta.jsp"%>

	</head>

	<body>
		<table width="100%" height="100%" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td align="center" valign="top">
					<div id="position">
						当前位置：系统管理 - 表单管理
					</div>
					<form name="form1" method="post" action="">
						<input type="hidden" name="id" value="${id}">
						<table width="95%" border="0" cellspacing="2" cellpadding="2">
							<tr>
								<td>
									操作：
									<input type="button" name="Submit22" value="添加字段分类"
										onClick="javascript:add()">
									<input type="button" name="Submit22" value="返回"
										onClick="javascript:doReturn()">
								</td>
							</tr>
						</table>
						<table width="95%" cellpadding="2" cellspacing="1"
							bgcolor="#CEEFFF">
							<tr>
								<td class="listtitle">
									名称&nbsp;
								</td>
								<td class="listtitle">
									备注&nbsp;
								</td>
								<td class="listtitle" width="15%">
									&nbsp;
								</td>
							</tr>
							<s:iterator value="entity.fieldClassFields">
								<tr>
									<td bgcolor="#FFFFFF">
										${field.name}&nbsp;
									</td>
									<td bgcolor="#FFFFFF">
										${field.memo}&nbsp;
									</td>
									<td bgcolor="#FFFFFF" width="15%">
										<a href="${ctx}/workorder/fieldClass!deleteFctf.action?fctfId=${id}&id=${fieldClassId}">删
											除</a>&nbsp;
									</td>
								</tr>
							</s:iterator>
						</table>
					</form>
				</td>
			</tr>
		</table>
	</body>
</html>
<script language="javascript" type="text/javascript">
            function add()
            {
            	${'form1'}.action = "${ctx}/workorder/fieldClass!showField.action";
               	${'form1'}.submit();
            }
            function doReturn()
            {
            	document.location="${ctx}/workorder/fieldClass.action";
            }
</script>
